package com.common.utils.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author xin.ding
 * @date 2020/10/17 16:44
 */
public class LogTest {

    private static final Logger logger = LoggerFactory.getLogger(LogTest.class);

    public static void main(String[] args) throws InterruptedException {
        for (int i = 0; i < 1000; i++) {
            logger.info("log info{}", i);
            logger.error("log error{}", i);
            Thread.sleep(100);
        }
    }
}
